home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
teglc.arc
/
SAMC0419.C
< prev
next >
Wrap
Text File
|
1991-02-16
|
493b
|
31 lines
/* samc04019.c */
#include "teglsys.h"
void main()
{
imagestkptr fs1,fs2;
easytegl();
pushimage(1,1,100,100);
shadowbox(1,1,100,100);
fs1 = stackptr;
pushimage(50,50,150,150);
shadowbox(50,50,150,150);
fs2 = stackptr;
showmouse();
while(mouse_buttons == 0);
hideimage(fs2);
unlinkfs(fs2);
linkunderfs(fs2,fs1);
showimage(fs2,fs2->x,fs2->y);
while(mouse_buttons == 0);
abort_msg("");
}